/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jhelper;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

/**
 *
 * @author Administrator
 */
public class Notices {
    public String getTodayName(){
        Date date =new Date();
        SimpleDateFormat formatter= new SimpleDateFormat("yyyy-MM-dd");
        String dateString =formatter.format(date);
        return dateString;
    }
    public String getTomorrowName(){
        Date date =new Date();
        Calendar calendar =new GregorianCalendar();
        calendar.setTime(date);
        calendar.add(Calendar.DATE,1);
        date=calendar.getTime();
        SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd");
        String dateString=formatter.format(date);
        return dateString;
        
    }
    
    
    
    public void getTodayNotices(){
    }

}
